package com.ruoyi.framework.interceptor;

import java.lang.annotation.*;

/**
 * 自定义API身份验证注解
 * @date 2019/7/10 15:58
 * @author shihx
 * @return
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface Authentication {
    /** access_token 拦截验证标识 */
    boolean tokenRequired() default false;
    /** sign 签名验证标识 */
    boolean signRequired() default false;
}
